<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table class="multi-table" border>
    <thead>
    <tr>
        <th>
            <input id="js-all-checkbox" type="checkbox" onclick="checkAll(this)">
        </th>
        <th>id</th>
        <th>姓名</th>
        <th>年龄</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td>
            <input type="checkbox" name="select" value="1" oninput="clickCheckbox()">
        </td>
        <td>1</td>
        <td>张三</td>
        <td>16</td>
    </tr>
    <tr>
        <td>
            <input type="checkbox" name="select" value="2" oninput="clickCheckbox()">
        </td>
        <td>2</td>
        <td>李四</td>
        <td>17</td>
    </tr>
    <tr>
        <td>
            <input type="checkbox" name="select" value="3" onclick="clickCheckbox()">
        </td>
        <td>3</td>
        <td>王五</td>
        <td>19</td>
    </tr>
    </tbody>
</table>

<h3>当前选中: <span id="js-check-text"></span></h3>

<script src="./index.js"></script>


</body>
</html>
